home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / inrstex / inrstex / inrsdef.tex < prev    next >
Text File  |  1991-09-08  |  8KB  |  257 lines

  1. %-*-tex-*-
  2. % Copyright Michael J. Ferguson, INRS-Telecommunications
  3. % All rights reserved. 
  4.  
  5. % ======== Cautions =========
  6. % If some moduels of INRSTeX are not used, some of these defaults will 
  7. % NOT be defined. 
  8.  
  9. % This file has most of the default values in plain.tex and inrstex.
  10. % The parameters that are not modified from plain are % -- out. 
  11.  
  12. % ========  Plain.tex parameters ... set in plain and initex ====
  13.  
  14. % All of TeX's numeric parameters are listed here,
  15. % Most are untouched from plain.tex but some are indeed modified. 
  16. % The order is not the same as in plain.tex
  17.  
  18. %  These parameters are actually changed. 
  19.  
  20. \widowpenalty = 400 % needs to be more than 100 
  21. \clubpenalty = 800  % needs to be more than 100 
  22.  
  23. % None of the values below are actually changed. They are included for
  24. % information ... and possibly future modifcations. 
  25.  
  26. %  --- Penalties ---
  27.  
  28. %   \displaywidowpenalty=50
  29. %   \brokenpenalty=100
  30. %   \predisplaypenalty=10000
  31. %   \postdisplaypenalty=0
  32. %   \interlinepenalty=0
  33. %   \interdisplaylinepenalty=100
  34. %   \interfootnotelinepenalty=100
  35.  
  36. %   \pretolerance=100
  37. %   \tolerance=200 % INITEX sets this to 10000
  38. %   \hbadness=1000
  39. %   \vbadness=1000
  40. %   \linepenalty=10
  41. %   \hyphenpenalty=50
  42. %   \exhyphenpenalty=50
  43. %   \binoppenalty=700
  44. %   \relpenalty=500
  45. %   \floatingpenalty=0, set during \insert
  46. %   \outputpenalty=0, set before TeX enters \output
  47. %   \doublehyphendemerits=10000
  48. %   \finalhyphendemerits=5000
  49. %   \adjdemerits=10000
  50.  
  51. % ---- paragraph control ----
  52. %   \looseness=0, cleared by TeX after each paragraph
  53. %   \uchyph=1
  54. %   \parindent=20pt
  55. %   \hangindent=0pt, zeroed by TeX after each paragraph
  56. %   \baselineskip=0pt, changed by \normalbaselines
  57. %   \lineskip=0pt, changed by \normalbaselines
  58. %   \parskip=0pt plus 1pt
  59. %   \parfillskip=0pt plus 1fil
  60. %   \normalbaselineskip=12pt
  61. %   \normallineskip=1pt
  62. %   \normallineskiplimit=0pt
  63.  
  64. % -----  Sizes/overfull boxes ----
  65. %   \hfuzz=0.1pt  % ... \finalversion mod
  66. %   \vfuzz=0.1pt  % ... \finalversion mod
  67. %   \overfullrule=5pt % ... \finalversion mod
  68. %   \hsize=6.5in  % ... pagsty.tex and inrsdef.tex 
  69. %   \vsize=8.9in  % ... pagsty.tex and inrsdef.tex 
  70. %   \maxdepth=4pt
  71. %   \splitmaxdepth=\maxdimen
  72. %   \boxmaxdepth=\maxdimen
  73. %   \lineskiplimit=0pt, changed by \normalbaselines
  74. %   \leftskip=0pt
  75. %   \rightskip=0pt
  76. %   \topskip=10pt
  77. %   \splittopskip=10pt
  78.  
  79.  
  80. % ------- Internal Math parms -----
  81. %   \delimitershortfall=5pt
  82. %   \nulldelimiterspace=1.2pt
  83. %   \scriptspace=0.5pt
  84. %   \mathsurround=0pt
  85. %   \thinmuskip=3mu
  86. %   \medmuskip=4mu plus 2mu minus 4mu
  87. %   \thickmuskip=5mu plus 5mu
  88. %   \jot=3pt
  89.  
  90. % ---- Display Math Spacing ----
  91. %   \predisplaysize=0pt, set before TeX enters $$
  92. %   \displaywidth=0pt, set before TeX enters $$
  93. %   \displayindent=0pt, set before TeX enters $$
  94. %   \abovedisplayskip=12pt plus 3pt minus 9pt
  95. %   \abovedisplayshortskip=0pt plus 3pt
  96. %   \belowdisplayskip=12pt plus 3pt minus 9pt
  97. %   \belowdisplayshortskip=7pt plus 3pt minus 4pt
  98.  
  99.  
  100. %   \hoffset=0pt % not used in INRSTeX 
  101. %   \voffset=0pt % not used in INRSTeX
  102.  
  103. %   \tabskip=0pt
  104. %   \spaceskip=0pt
  105. %   \xspaceskip=0pt
  106.  
  107. % ------ Vertical Spacing -----
  108. %   \smallskipamount=3pt plus 1pt minus 1pt
  109. %   \medskipamount=6pt plus 2pt minus 2pt
  110. %   \bigskipamount=12pt plus 4pt minus 4pt
  111.  
  112. % ------ Debugging/Misc -----
  113. %   \pausing=0
  114. %   \tracingonline=0
  115. %   \tracingmacros=0
  116. %   \tracingstats=0
  117. %   \tracingparagraphs=0
  118. %   \tracingpages=0
  119. %   \tracingoutput=0
  120. %   \tracinglostchars=1
  121. %   \tracingcommands=0
  122. %   \tracingrestores=0
  123. %   \globaldefs=0
  124. %   \maxdeadcycles=25 % INITEX does this
  125. %   \hangafter=1 % INITEX does this, also TeX after each paragraph
  126. %   \fam=0
  127. %   \mag=1000 % INITEX does this
  128. %   \escapechar=`\\ % INITEX does this
  129. %   \defaulthyphenchar=`\-
  130. %   \defaultskewchar=-1
  131. %   \endlinechar=`\^^M % INITEX does this
  132. %   \newlinechar=-1
  133. %   \delimiterfactor=901
  134. %   \time=now % TeX does this at beginning of job
  135. %   \day=now % TeX does this at beginning of job
  136. %   \month=now % TeX does this at beginning of job
  137. %   \year=now % TeX does this at beginning of job
  138. %   \showboxbreadth=5
  139. %   \showboxdepth=3
  140.  
  141.  
  142. % =========  Defaults specific to INRSTeX ==========
  143.  
  144. % ====== Baselineskip spacings =========
  145.  
  146. \def\normalbaselineskipsize{2.8ex \normalbaselineskipglue}
  147. \def\normalbaselineskipglue{plus .07ex minus .07ex}
  148. \def\normallineskipform{\lineskip 1pt \lineskiplimit 0pt}
  149.  
  150.  
  151. % ====== Turns off slicing rules for Versatec =======
  152. \let\ptrule=\relax
  153. \let\prule=\relax
  154.  
  155. % ====== Paper Sizes and Margins ========
  156. \hpapersize= 8.5in
  157. \vpapersize= 11in 
  158. \topmarginsize = 1in
  159. \leftmarginsize= 1.25in
  160.  
  161.  
  162. % ======== Chapter/Section default forms =====
  163. \nochaptertrue % defaults to not chapters 
  164. \chnum=0   \def\chnumform{\the\chnum}
  165. \shnum=0   \def\shnumform{\the\shnum}
  166. \sshnum=0   \def\sshnumform{\the\sshnum}
  167. \ssshnum=0 \def\ssshnumform{\the\ssshnum}
  168.  
  169. % the periods between the numbers and the orders are defined in 
  170. % \numberbychapter and \numberbysection
  171.  
  172. % ======== Single/Multicolumn ========
  173. \numcolumns =1
  174. \firstcolumnoffset= 0pt
  175. \intercolumnsep = {\hskip 2em} %intercolumn spacing default
  176.  
  177. % ========= Set Default Spacings ==========
  178. % The spacings in INRSTeX are all relative to a font. This means that a 
  179. % change in font family requires a change in these spacings. 
  180.  
  181. \newtoks\everysetspacings % this is a way to modify a few font dependent spacings
  182.  
  183. \def\setspacings{% ==== section head spacing defaults =====
  184.        \prsheadskip= 6ex plus 2ex minus 2ex 
  185.        \posheadskip= 2ex 
  186.        \prssheadskip= 5ex plus 1.8ex minus 1.8ex
  187.        \possheadskip= 2ex
  188.        \prsssheadskip= 3ex  plus 1ex minus 1ex
  189.        \posssheadskip= 2ex
  190.        \prdsssheadskip= 3ex  plus 1ex minus 1ex
  191.        \podsssheadskip= 2ex
  192.   \relax % interitem spacing in table of contents, figure list ... are 
  193.   \relax %  directly in the macros ... 
  194.       \righttocindent = 5em % righthand indent for number in tocbox
  195.   \relax % =========== list spacing parameters =====
  196.        \prlistskip= 2ex plus 3pt minus 2pt
  197.        \prsublistskip = 1ex plus 2pt minus 1pt
  198.        \prsubsublistskip = .5ex plus 1pt minus 1pt
  199.        \polistskip= 2ex plus 1pt minus 1pt
  200.        \posublistskip= 1ex plus 1pt minus 1pt
  201.        \posubsublistskip= .5ex plus 1pt minus 1pt
  202.        \listitemskip = 2ex plus 1pt minus 1pt
  203.        \sublistitemskip =1ex plus .75pt minus .75pt
  204.        \subsublistitemskip = .5ex plus .5pt minus .5pt
  205.        \listindent = 3em
  206.        \sublistindent = 6em
  207.        \subsublistindent = 9em
  208.        \listitemmarksize = 1.5em
  209.    \relax    %======= Caption box spacing =======
  210.        \captionskip = 2ex  % spacing between a figure/table and caption
  211.        \the\everysetspacings
  212.          }
  213. % note \setspacings is called when the style default sets a document font 
  214.  
  215.  
  216.  
  217. % ========== Toc Out Forms ===========
  218. % These are the default forms for writing to a toc file. 
  219.  
  220. \def\shtocout{\string\shtoc}
  221. \def\sshtocout{\string\sshtoc}
  222. \def\ssshtocout{\string\ssshtoc}
  223. \def\dssshtocout{\string\dssshtoc}
  224. \def\chtocout{\string\chtoc}
  225. \def\prtocout{\string\prtoc} 
  226. \def\figtocout{\string\figtoc} 
  227. \def\tbltocout{\string\tbltoc} 
  228.  
  229. % ========== Auto referencing default =======
  230. \autoreferencetrue % autonumbering is not default true ... no \refs .. no
  231.                    %  effect
  232.  
  233. % ============ Captionbox Defaults =========
  234. \topcaptionfalse
  235. \def\captiontextfraction{0.8}
  236. \captionbodyon 
  237.  
  238. % ============ Title Spacing/Width ==========
  239. \def\titlefraction{0.9}
  240. \def\titlespacing{1.5}
  241.  
  242. % ====== Plain \magnification change ======
  243. \let\magnification=\mag 
  244.  
  245. % ============ Tagging/Reference =======
  246. \pagetagsoff  % default is the pagetags off -- more efficient. 
  247.  
  248. % =========== Allows Figures to be Silent ========
  249. \silentfigurefalse % defaults to non silent figures 
  250.  
  251. %======== style defaults 
  252. \paperstyle
  253. \englishversion
  254. \draftversion
  255.  
  256.  
  257.